﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="${site.theme_dir}css/init.css" />
    <link rel="stylesheet" type="text/css" href="${site.theme_dir}css/head.css" />
    <link rel="stylesheet" type="text/css" href="${site.theme_dir}css/Shopping_pay.css" />
    <title>
        ${config.SiteTitle}-确认支付</title>

    <script type="text/javascript" src="${site.dir}Scripts/jQuery_min.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="page">
        #parse("shared/_incs/_header.html")
        <div class="content">
            <div class="logo">
                <img src="${site.theme_dir}images/Detail_cart/LOGO.gif" width="200"
                    height="51"></div>
            <div class="Process">
                <ul>
                    <li class="li_02">1.购物车</li>
                    <li>
                        <img src="${site.theme_dir}images/Detail_cart/Arrow.gif" width="20"
                            height="16"></li>
                    <li class="li_01"><span>2、确认订单信息</span></li>
                    <li>
                        <img src="${site.theme_dir}images/Detail_cart/Arrow.gif" width="20"
                            height="16"></li>
                    <li class="li_02">3、订购成功</li>
                </ul>
            </div>
            <div class="clear">
            </div>
            <%--
            <!--历史记录的信息，可以隐藏-->--%>
            <div class="History">
                <span class="History_font">收货人信息<a href="Shopping_Address.aspx?id=${area.id}"
                    target="_blank">修改</a></span><%--
                <!--  收货人信息-->--%>
                <div class="History_left">
                    <ul>
                        <li>收货姓名：
                            ${area.tousername}
                        </li>
                        <li>收货地区：
                            ${area.touserareapro}
                            ${area.touserareacity}
                            ${area.touserareacity2}</li>
                        <li>收货地址：
                            ${area.touserurl}</li>
                        <li>邮政编码：
                            ${area.topostnum}</li>
                        <li>固定电话：
                            ${area.touserphone}</li>
                        <li>移动电话：
                            ${area.tousertelephone}</li>
                    </ul>
                </div>
                <%-- <!--  收货人信息-->
                <!--支付方式-->--%>
                <span class="History_font">支付方式</span>
                <div class="History_left">
                    <ul>
                        <li>
                            <asp:RadioButton ID="rbtnpay1" runat="server" Text="货到付款" GroupName="pay" />
                            <span class="gray">推荐方式（现金或POS刷卡机支付均可）</span> </li>
                        <li>
                            <asp:RadioButton ID="rbtnpay2" runat="server" Text="在线支付-快付宝" GroupName="pay" />
                        </li>
                        <li>
                            <asp:RadioButton ID="rbtnpay3" runat="server" Text="在线支付-支付宝" GroupName="pay" />
                        </li>
                        <li>
                            <asp:RadioButton ID="rbtnpay4" runat="server" Text="在线支付-快钱支付" GroupName="pay" />
                        </li>
                        <li>
                            <asp:RadioButton ID="rbtnpay5" runat="server" Text="在线支付-工行支付" GroupName="pay" />
                        </li>
                        <li>
                            <asp:RadioButton ID="rbtnpay6" runat="server" Text="邮政汇款" GroupName="pay" />
                        </li>
                    </ul>
                </div>
                <div class="clear">
                </div>
                <%-- <!--支付方式-->
                <!--送货时间-->--%>
                <span class="History_font">送货时间</span>
                <div class="History_left">
                    <ul>
                        <li>
                            <asp:RadioButton ID="rbtnDelivery1" runat="server" Text="工作日、双休日与节假日均可送货" GroupName="Delivery" />
                        </li>
                        <li>
                            <asp:RadioButton ID="rbtnDelivery2" runat="server" Text="只有双休日、假日送货（工作日不用送货）" GroupName="Delivery" />
                        </li>
                        <li>
                            <asp:RadioButton ID="rbtnDelivery3" runat="server" Text=" 只有工作日送货（双休日、假日不用送）" GroupName="Delivery" />
                            <span class="gray">写字楼/商用地址客户选择 </span></li>
                        <li>
                            <asp:RadioButton ID="rbtnDelivery4" runat="server" Text="学校地址（该地址白天没人，请尽量安排其他时间送货）"
                                GroupName="Delivery" />
                            <span class="gray">特别安排可能超出预计送货天数 </span></li>
                    </ul>
                </div>
                <asp:Button ID="btnSaveGoOrder" runat="server" Text="" CssClass="button_01" OnClientClick="return checkpay();" />
            </div>
        </div>
        #parse("shared/_incs/_dismode.html")
        #parse("shared/_incs/_footer.html")
    </div>
    </form>

    <script type="text/javascript">
        function checkpay() {
            var pay_count = 0;
            $("input[id^=rbtnpay]").each(function() {
                if ($(this).attr("checked")) {
                    pay_count = 1;
                }
            });
            if (pay_count == 0) {
                alert("请选择一个支付方式!");
                return false;
            }
            var send_count = 0;
            $("input[id^=rbtnDelivery]").each(function() {
                if ($(this).attr("checked")) {
                    send_count = 1;
                }
            });
            if (send_count == 0) {
                alert("请选择一个送货时间!");
                return false;
            }
            return true;
        }
    </script>

</body>
</html>
